home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
strpp300.zip
/
STRNG.DOC
< prev
next >
Wrap
Text File
|
1993-04-11
|
2KB
|
45 lines
String++ Version 3.0
Instructions for Modifying the Borland Container Class Library
---------------------------------------------------------------------------
With the addition of strng.h, strng.cpp, and strng.lib, String++ is BCCL-
compatible. Since strng.lib is a large memory model library, these instruc-
tions will apply to the large model version of the BCCL. You can also create
a small memory version of strng.lib and modify the small model version of
the BCCL.
To install the BCCL version of String++, simply run strng.bat with the name
of your Borland C++ directory. For example:
C:\PROG\STRING> STRNG D:\BC
where D:\BC is the directory where Borland C++ is installed. strng.bat does
the following:
1) Renames strng.h to strng.bcc in the ...\classlib\include directory.
Copies the String++ version of strng.h to ...\classlib\include as well
as regexp.h, parsestr.h, and filestr.h.
2) Renames strng.cpp to strng.bcc in the ...\classlib\source directory.
Copies the String++ version of strng.cpp to ...\classlib\source as well
as str.cpp, regexp.cpp, parsestr.cpp, and filestr.cpp.
3) Copies tclassl.lib to tclassl.bcc in the ...\classlib\lib directory.
Runs ...\bin\tlib and replaces the strng module in tclassl.lib with the
String++ version of strng.lib.
If you installed Borland C++ using non-standard directories, you may need
to edit strng.bat and change the paths. To uninstall String++ from the
BCCL run strng.bat with the -u option:
C:\PROG\STRING> STRNG -U D:\BC
To use the new String class, simply #include <strng.h> in your code and
activate the Container Class Library option in the Options-Linker-Libraries
(either Static or Dynamic). If you are using the FileString, ParseString,
or RexExp class you will also need to add "BCCL" to the Options-Compiler-
Code Generation-Defines list.